﻿// <copyright file="ComparsionType.cs" company="Lu Studio">
// Copyright (c) Lu Studio. All rights reserved.
// </copyright>
// <author>lu qi</author>
// <createTime>2021-06-23</createTime>

namespace ElfKit.Common
{
    using ElfKit.Common.Properties;

    /// <summary>
    /// 比较类型.
    /// </summary>
    [System.Serializable]
    public enum ComparsionType : int
    {
        /// <summary>
        /// 无
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.None))]
        None = 0,

        /// <summary>
        /// 等于
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.Equal))]
        Equal = 1,

        /// <summary>
        /// 不等于
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.NotEqual))]
        NotEqual = 2,

        /// <summary>
        /// 大于.
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.GreaterThan))]
        GreaterThan = 3,

        /// <summary>
        /// 大于等于.
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.GreaterThanOrEqual))]
        GreaterThanOrEqual = 4,

        /// <summary>
        /// 小于.
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.LessThan))]
        LessThan = 5,

        /// <summary>
        /// 小于等于.
        /// </summary>
        [Resource(typeof(Resources), nameof(Resources.LessThanOrEqual))]
        LessThanOrEqual = 6
    }
}